<template>
    <a-radio-group v-model:value="modelValue">
        <a-radio v-for="item in options" :key="item.value" :value="item.value">{{ item.label }}</a-radio>
    </a-radio-group>
</template>
<script setup>
const props = defineProps({
    placeholder: {
        type: String,
        default: "请选择"
    },
    options: {
        type: Array,
        default: () => ([])
    }
})
const modelValue = defineModel()
</script>